package com.asdf.entities;

/** The class implements an aviation company club.
 * @author so4i2014
 *
 */
public class CompanyClub {
	private String companyName;
	private double discount;
	private String id;
	
	/** Create a new aviation company club. 
	 * @param companyName - aviation company name.
	 * @param discount - discount the members of the club have.
	 * @param id - company id.
	 */
	public CompanyClub(String companyName, double discount, String id) {
		super();
		this.companyName = companyName;
		this.discount = discount;
		this.id = id;
	}
	
	/** Get the name of the company.
	 * @return
	 */
	public String getCompanyName() {
		return companyName;
	}
	
	/** Set company name.
	 * @param companyName
	 */
	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}
	
	/** Get discount for the company club members.
	 * @return
	 */
	public double getDiscount() {
		return discount;
	}
	/** Set discount for the company club members. 
	 * @param discount
	 */
	public void setDiscount(double discount) {
		this.discount = discount;
	}
	/** Get id of the company club.
	 * @return
	 */
	public String getId() {
		return id;
	}
	/** Set id of the company club.
	 * @param id
	 */
	public void setId(String id) {
		this.id = id;
	}
}
